package com.yjq.yys.yhCalculate.service;

import com.yjq.yys.yhCalculate.dao.SsDao;
import com.yjq.yys.yhCalculate.dao.YhDao;
import com.yjq.yys.yhCalculate.dao.YhSortDao;
import com.yjq.yys.yhCalculate.dto.YhSelectDTO;
import com.yjq.yys.yhCalculate.entity.Ss;
import com.yjq.yys.yhCalculate.entity.Yh;
import com.yjq.yys.yhCalculate.entity.YhSort;
import com.yjq.yys.yhCalculate.utils.Assert;
import com.yjq.yys.yhCalculate.utils.YhCalculateUtil;
import com.yjq.yys.yhCalculate.vo.YhCalculateVO;
import com.yjq.yys.yhCalculate.vo.YhExpectVO;
import lombok.extern.slf4j.Slf4j;
import net.sf.json.JSONArray;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

@Service
@Slf4j
public class SsService {

    @Resource
    private YhDao yhDao;

    @Resource
    private YhSortDao yhSortDao;

    @Resource
    private SsDao ssDao;

    public List<Ss> listSs() {
        return ssDao.listSs();
    }

}
